show Abstracthide AbstractApplying exogenous additives during the aerobic composting of livestock manure is effective for slowing down the spread of antibiotic resistance genes (ARGs) in the environment. Nanomaterials have received much attention because only low amounts need to be added and they have a high capacity for adsorbing pollutants. Intracellular ARGs (i-ARGs) and extracellular ARGs (e-ARGs) comprise the resistome in livestock manure but the effects of nanomaterials on the fates of these different fractions during composting are still unclear. Thus, we investigated the effects of adding SiO2 nanoparticles (SiO2NPs) at four levels (0 (CK), 0.5 (L), 1 (M), and 2 g/kg (H)) on i-ARGs, e-ARGs, and the bacterial community during composting. The results showed that i-ARGs represented the main fraction of ARGs during aerobic composting of swine manure, and their abundance was lowest under M. Compared with CK, M increased the removal rates of i-ARGs and e-ARGs by 17.9% and 100%, respectively. SiO2NPs enhanced the competition between ARGs hosts and non-hosts. M optimized the bacterial community by reducing the abundances of co-hosts (Clostridium_sensu_srricto_1, Terrisporobacter, and Turicibacter) of i-ARGs and e-ARGs (by 96.0% and 99.3%, respectively) and killing 49.9% of antibiotic-resistant bacteria. Horizontal gene transfer dominated by mobile genetic elements (MGEs) played a key role in the changes in the abundances of ARGs. i-intI1 and e-Tn916/1545 were key MGEs related closely to ARGs, and the maximum decreases of 52.8% and 100%, respectively, occurred under M, which mainly explained the decreased abundances of i-ARGs and e-ARGs. Our findings provide new insights into the distribution and main drivers of i-ARGs and e-ARGs, as well as demonstrating the possibility of adding 1 g/kg SiO2NPs to reduce the propagation of ARGs.